﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
    <%--Google Map API--%>
    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=geometry&sensor=false"></script>
    <script src="Javascript/GoogleMapManager.js"></script>

    <style type="text/css">
        html {
            height: 100%;
        }

        body {
            height: 100%;
            margin: 0;
            padding: 0;
        }

        #map_canvas {
            height: 90%;
        }
    </style>
</head>
<body onload="initialize()">
    <form id="form1" style="width: 100%; height: 100%" runat="server">
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript">
                function RadButton3_OnClientClicked(sender, args)
                {
                    deleteOverlays();                    
                }

            </script>

        </telerik:RadCodeBlock>

        <div>
            Google Map Route Designer        
        </div>
        <div id="map_canvas"></div>
        <div>
            <telerik:RadButton ID="RadButton1" runat="server" Text="Draw route">
            </telerik:RadButton>
            <telerik:RadButton ID="RadButton2" runat="server" Text="Generate Insert">
            </telerik:RadButton>
            <telerik:RadButton ID="RadButton3" runat="server" Text="Clear All Marker" OnClientClicked="RadButton3_OnClientClicked">
            </telerik:RadButton>
        </div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
    </form>
</body>
</html>
